import { defineStore } from "pinia";
import { store } from "/@/store";
import { any } from "vue-types";

export const useQuestionStore = defineStore({
  id: "question",
  state: () => ({
    info: any
  }),
  actions: {
    // 获取异步路由菜单
    setInfo(info) {
      this.info = info;
    }
  }
});

export function useQuestionStoreHook() {
  return useQuestionStore(store);
}
